package org.mics.organization.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Where;
import org.mics.jpa.entity.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@Entity
@Table(name = "t_post")
@Where(clause = "bln_del = 0")
@EqualsAndHashCode(callSuper = false)
public class PostDO extends BaseEntity{
	
    @Column(name = "name",columnDefinition = "varchar(32) comment '岗位名称' ")
	private String name;
	
    @Column(name = "department_id",  columnDefinition = "varchar(32) comment '部门Id' ")
	private String departmentId;
}
